/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package foxmob.mlts.model;

import javax.swing.tree.TreeNode;

/**
 *
 * @author Lunayo
 */
public class TreeObject {
    private Question question;
    private Section section;
    private Subsection subsection;
    private QuestionPaper record;
    private TreeNode parentNode;
    
    public void setQuestion(Question question) {
        this.question = question;
    }
    
    public Question getQuestion() {
        return question;
    }
    
    public void setSection(Section section) {
        this.section = section;
    }
    
    public Section getSection() {
        return section;
    }
    
    public void setRecord(QuestionPaper record) {
        this.record = record;
    }
    
    public QuestionPaper getRecord() {
        return this.record;
    }
    
    public void setSubsection(Subsection subsection) {
        this.subsection = subsection;
    }
    
    public Subsection getSubsection() {
        return subsection;
    }
    
    public void setParentNode(TreeNode parentNode) {
        this.parentNode = parentNode;
    }
    
    public TreeNode getParentNode() {
        return this.parentNode;
    }
    
}
